package com.guo.dms.dept.permission.dao;

import java.util.List;

import com.guo.dms.dept.permission.entity.Permission;

public interface PermssionDao extends PermissionMapper{
	/**
	 * 根据roles获取
	 * @param roleIds
	 * @return
	 */
	public List<Permission>  selectPermissionByRoles(List<Integer> roleIds);
	
	public List<Permission>  selectAllPermissions();
	
	public List<Permission>  selectPermsByParentId(Integer parentId);
}
